title GIT提交批处理——Jianxi
color 0F
@echo off
echo *************************************************************
echo *                GIT 代码提交批处理                     	*
echo *  Author: Jianxi                                          *
echo *  Version: 1.0                                            *
echo *  Last Updated by: Jianxi                                	*
echo *************************************************************

echo;
echo;

echo 开始提交代码到本地仓库
echo 当前目录是：%cd%

echo;
echo;
echo 开始识别当前git的版本
git --version
echo;
echo;

echo --------------------------Add-------------------------------
git add -A .
echo ---------------------------------------------------------end

echo;
echo 提交变更到本地仓库
echo -------------------------Commit-----------------------------
git commit -m "update"
echo ---------------------------------------------------------end

echo;
echo 将变更情况提交到远程git服务器
echo --------------------------Push------------------------------
git push origin master
echo ---------------------------------------------------------end

echo;
echo 批处理执行完毕！
echo;

timeout /t 2
exit